package com.crois.barrier.admin.dto;

import com.zhimydou.zdf.wf.dto.AbstractBizDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.Date;

/**
 * barrier 实例信息表
 * @author Hou Ze Yu
 * @date 2021-10-25 11:58:26
 */
@ApiModel("barrier 实例信息表")
@Getter
@Setter
@ToString
public class IpAndWeightDto extends AbstractBizDto<Integer> {



    /**
     *  
     */
    @ApiModelProperty("")
    private Integer id;

    /**
     *  api路由id
     */
    @ApiModelProperty("api路由id")
    private Integer apiRouteId;

    /**
     *  ip
     */
    @ApiModelProperty("ip")
    private String ip;

    /**
     *  权重
     */
    @ApiModelProperty("权重")
    private Integer weight;

    /**
     *  版本
     */
    @ApiModelProperty("版本")
    private String version;

    @Override
    public Integer getId() {
        return id;
    }

    @Override
    public void setId(Integer id) {
        this.id= id;
    }
}
